package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名系统对象 sc_student_course
 * 
 * @author ZHANGQIBO
 * @date 2023-12-29
 */
public class ScStudentCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long studentCourseId;

    /** 学生名 */
    @Excel(name = "学生名")
    private String studentName;

    /** 学生 */
    private Long studentId;

    /** 课程 */
    private Long courseId;

    /** 课程 */
    @Excel(name = "课程")
    private String courseName;

    /** 班级 */
    private Long claId;

    /** 班级 */
    @Excel(name = "班级")
    private String claName;

    /** 总课时 */
    @Excel(name = "总课时")
    private BigDecimal totalHour;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /** 剩余课时 */
    @Excel(name = "剩余课时")
    private BigDecimal balanceHour;

    /** 创建者 */
    private String createUser;

    /** 创建者 */
    private Date createTime;

    /** 更新者 */
    private String lastUpdateUser;

    /** 更新时间 */
    private Date lastUpdateTime;

    public void setStudentCourseId(Long studentCourseId) 
    {
        this.studentCourseId = studentCourseId;
    }

    public Long getStudentCourseId() 
    {
        return studentCourseId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setClaId(Long claId) 
    {
        this.claId = claId;
    }

    public Long getClaId() 
    {
        return claId;
    }
    public void setClaName(String claName) 
    {
        this.claName = claName;
    }

    public String getClaName() 
    {
        return claName;
    }
    public void setTotalHour(BigDecimal totalHour) 
    {
        this.totalHour = totalHour;
    }

    public BigDecimal getTotalHour() 
    {
        return totalHour;
    }
    public void setBalanceHour(BigDecimal balanceHour) 
    {
        this.balanceHour = balanceHour;
    }

    public BigDecimal getBalanceHour() 
    {
        return balanceHour;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setLastUpdateUser(String lastUpdateUser) 
    {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getLastUpdateUser() 
    {
        return lastUpdateUser;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentCourseId", getStudentCourseId())
            .append("studentName", getStudentName())
            .append("studentId", getStudentId())
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("claId", getClaId())
            .append("claName", getClaName())
            .append("totalHour", getTotalHour())
            .append("balanceHour", getBalanceHour())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("lastUpdateUser", getLastUpdateUser())
            .append("lastUpdateTime", getLastUpdateTime())
            .toString();
    }
}
